#include<string>
using namespace std;
class Solution {
public:
    string dynamicPassword(string password, int target) {
        string ret;
        ret = password.substr(target) + password.substr(0, target);
        return ret;
    }
};